package com.taoym.voucher.admin.service;

import com.taoym.voucher.admin.entity.dto.XcxAddImageDTO;
import com.taoym.voucher.admin.entity.vo.XcxGetImageVO;

import java.util.List;

/**
 * @coder taoym
 * @datetime 2021/9/3 9:15
 * @desc
 */
public interface XcxImageService {
    /**
     * @coder taoym
     * @datetime 2021/9/3 10:15
     * @desc 查询图片
     */
    List<XcxGetImageVO> listImages(Integer type);

    /**
     * @coder taoym
     * @datetime 2021/9/3 9:55
     * @desc 添加图片
     */
    Integer addImage(XcxAddImageDTO data);

    /**
     * @coder taoym
     * @datetime 2021/9/3 9:32
     * @desc 删除图片
     */
    Integer deleteImage(Integer id, String url);
}
